import Main from "@/components/Main";
import Wallet from "@/views/MyWalletManage/MyWalletManage";
import IncomeExpenditureRecord from '@/views/MyWalletManage/IncomeExpenditureRecord/IncomeExpenditureRecord.vue'
import WithdrawalRecordManage from '@/views/MyWalletManage/WithdrawalRecord/WithdrawalRecord.vue'
import WithdrawalManage from '@/views/MyWalletManage/WithdrawalManage/WithdrawalManage.vue'
export default [{
    path: '/myWalletManage',
    name: 'myWalletManage',
    component: Main,
    redirect: "/orderManage",
    children: [
        {
            path: '/walletManage',
            name: 'WalletManage',
            component: Wallet,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "我的钱包", // tag标题
            }
        },
        // {
        //     path: '/withdrawalRecordManage',
        //     name: 'WithdrawalRecordManage',
        //     component: Wallet,
        //     meta: {
        //         keepAlive: false, // 是否需要缓存
        //         requiresAuth: true, // 是否需要身份验证
        //         tagNav: true, // 是否需要显示在tag列表中
        //         title: "提现记录", // tag标题
        //     }
        // },
        {
            path: '/incomeExpenditureRecord',
            name: 'IncomeExpenditureRecord',
            component: IncomeExpenditureRecord,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "收支记录", // tag标题
            }
        },
        {
            path: '/withdrawalRecordManage',
            name: 'WithdrawalRecordManage',
            component: WithdrawalRecordManage,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "提现记录", // tag标题
            }
        },
        {
            path: '/withdrawalManage',
            name: 'WithdrawalManage',
            component: WithdrawalManage,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "提现管理", // tag标题
            }
        },
    ]
}];